package com.byit.service;

import com.alibaba.fastjson.JSONObject;
import com.baomidou.mybatisplus.plugins.Page;
import com.baomidou.mybatisplus.service.IService;
import com.byit.domain.SysMessageNotice;
import com.byit.domain.SysMessageNotice;

import javax.servlet.http.HttpServletRequest;
import java.util.List;
import java.util.Map;

/**
 * @ClassName SysMessageNoticeService
 * @Description TODO
 * @Author lxp
 * @Date 2019-01-24 16:56
 **/
public interface ISysMessageNoticeService extends IService<SysMessageNotice> {

    /**
     * 逻辑删除web消息通知信息
     *
     * @param params
     */
    void delSysMessageNoticeById(Map<String, Object> params);

    /**
     * 查询web消息通知列表
     *
     * @param page
     * @param params
     * @return
     */
    Page<JSONObject> selectSysMessageNoticeAll(Page<SysMessageNotice> page, Map<String, Object> params);

    /**
     *  查看个人消息
     * @param params
     * @return
     */
    List<JSONObject> selectInfoByConmpanyAndUserID( Map<String, Object> params);
}
